package model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

@Entity
@Table(name = "station_canceldetail")
public class Stationcanceldetail  implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	public Long id;
	public Long ticketselldetailid;
	public String stationpk;    
	public String ticketno;
	public String departorgcode;
	public String reachstationcode;
	public String schedulecode;
	@Temporal(TemporalType.DATE)
	public Date departdate;
	public String departtime;
	public String seatno;
	public Double price;
	public Integer distance;
	@Temporal(TemporalType.TIMESTAMP)
	public Date canceltime;
	public String cancelorgcode;
	public String canceltype;
	public String remark; 
	public String updateby;
	@Temporal(TemporalType.TIMESTAMP)
	public Date updatetime;
	@Temporal(TemporalType.TIMESTAMP)
	public Date createtime;
	public String createby;
}
